package com.os.toytrade.domain.toy;

import com.jc.repository.generator.annotation.NotNull;
import java.io.Serializable;
import java.util.Date;

public class ToyAberdeenInfo implements Serializable {

    private String id;

    private String aberdeenNumber;

    private String aberdeenNameCh;

    private String aberdeenNameEn;

    private String characterName;

    private String categoryId1;

    private String categoryId2;

    private Integer released;

    private String taxonomyCode;

    private Date createdAt;

    private Date updatedAt;

    private String remarks;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAberdeenNumber() {
        return aberdeenNumber;
    }

    public void setAberdeenNumber(String aberdeenNumber) {
        this.aberdeenNumber = aberdeenNumber;
    }

    public String getAberdeenNameCh() {
        return aberdeenNameCh;
    }

    public void setAberdeenNameCh(String aberdeenNameCh) {
        this.aberdeenNameCh = aberdeenNameCh;
    }

    public String getAberdeenNameEn() {
        return aberdeenNameEn;
    }

    public void setAberdeenNameEn(String aberdeenNameEn) {
        this.aberdeenNameEn = aberdeenNameEn;
    }

    public String getCharacterName() {
        return characterName;
    }

    public void setCharacterName(String characterName) {
        this.characterName = characterName;
    }

    public String getCategoryId1() {
        return categoryId1;
    }

    public void setCategoryId1(String categoryId1) {
        this.categoryId1 = categoryId1;
    }

    public String getCategoryId2() {
        return categoryId2;
    }

    public void setCategoryId2(String categoryId2) {
        this.categoryId2 = categoryId2;
    }

    public Integer getReleased() {
        return released;
    }

    public void setReleased(Integer released) {
        this.released = released;
    }

    public String getTaxonomyCode() {
        return taxonomyCode;
    }

    public void setTaxonomyCode(String taxonomyCode) {
        this.taxonomyCode = taxonomyCode;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ToyAberdeenInfo other = (ToyAberdeenInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getAberdeenNumber() == null ? other.getAberdeenNumber() == null : this.getAberdeenNumber().equals(other.getAberdeenNumber()))
            && (this.getAberdeenNameCh() == null ? other.getAberdeenNameCh() == null : this.getAberdeenNameCh().equals(other.getAberdeenNameCh()))
            && (this.getAberdeenNameEn() == null ? other.getAberdeenNameEn() == null : this.getAberdeenNameEn().equals(other.getAberdeenNameEn()))
            && (this.getCharacterName() == null ? other.getCharacterName() == null : this.getCharacterName().equals(other.getCharacterName()))
            && (this.getCategoryId1() == null ? other.getCategoryId1() == null : this.getCategoryId1().equals(other.getCategoryId1()))
            && (this.getCategoryId2() == null ? other.getCategoryId2() == null : this.getCategoryId2().equals(other.getCategoryId2()))
            && (this.getReleased() == null ? other.getReleased() == null : this.getReleased().equals(other.getReleased()))
            && (this.getTaxonomyCode() == null ? other.getTaxonomyCode() == null : this.getTaxonomyCode().equals(other.getTaxonomyCode()))
            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
            && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()))
            && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getAberdeenNumber() == null) ? 0 : getAberdeenNumber().hashCode());
        result = prime * result + ((getAberdeenNameCh() == null) ? 0 : getAberdeenNameCh().hashCode());
        result = prime * result + ((getAberdeenNameEn() == null) ? 0 : getAberdeenNameEn().hashCode());
        result = prime * result + ((getCharacterName() == null) ? 0 : getCharacterName().hashCode());
        result = prime * result + ((getCategoryId1() == null) ? 0 : getCategoryId1().hashCode());
        result = prime * result + ((getCategoryId2() == null) ? 0 : getCategoryId2().hashCode());
        result = prime * result + ((getReleased() == null) ? 0 : getReleased().hashCode());
        result = prime * result + ((getTaxonomyCode() == null) ? 0 : getTaxonomyCode().hashCode());
        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
        result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
        return result;
    }

    public ToyAberdeenInfo id(String value) {
        this.id = value;
        return this;
    }

    public ToyAberdeenInfo aberdeenNumber(String value) {
        this.aberdeenNumber = value;
        return this;
    }

    public ToyAberdeenInfo aberdeenNameCh(String value) {
        this.aberdeenNameCh = value;
        return this;
    }

    public ToyAberdeenInfo aberdeenNameEn(String value) {
        this.aberdeenNameEn = value;
        return this;
    }

    public ToyAberdeenInfo characterName(String value) {
        this.characterName = value;
        return this;
    }

    public ToyAberdeenInfo categoryId1(String value) {
        this.categoryId1 = value;
        return this;
    }

    public ToyAberdeenInfo categoryId2(String value) {
        this.categoryId2 = value;
        return this;
    }

    public ToyAberdeenInfo released(Integer value) {
        this.released = value;
        return this;
    }

    public ToyAberdeenInfo taxonomyCode(String value) {
        this.taxonomyCode = value;
        return this;
    }

    public ToyAberdeenInfo createdAt(Date value) {
        this.createdAt = value;
        return this;
    }

    public ToyAberdeenInfo updatedAt(Date value) {
        this.updatedAt = value;
        return this;
    }

    public ToyAberdeenInfo remarks(String value) {
        this.remarks = value;
        return this;
    }
}